<td width="727"><table width="727" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  <td width="727" height="47" valign="top" background="img/bar_blue.jpg"><table width="727" border="0" cellspacing="0" cellpadding="0">
                                      <tr> 
                                        <td width="10" height="47">&nbsp;</td>
                                        <td width="23" height="47"><img src="img/bar_flblue.jpg" width="23" height="23"></td>
                                        <td width="10" height="47">&nbsp;</td>
                                        <td height="47" class="tahoma12W"><strong> 
                                          <?php echo $lang['CONTENT_TITLE_VERIFY_EMAIL']; ?></strong></td>
                                      </tr>
                                    </table></td>
                                </tr>
                                <tr> 
                                  <td width="727" height="6" valign="top"><img src="img/spec_blank.gif" width="10" height="7"></td>
                                </tr>
                                <tr> 
                                  <td width="727" height="878" valign="top" bgcolor="#99CC33"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                      <tr> 
                                        <td height="601" valign="top" bgcolor="F1F3EB"><table width="100%" height="878" border="0" cellpadding="0" cellspacing="0">
                                            <tr> 
                                              <td height="763" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                  <tr> 
                                                    <td width="10" height="10"></td>
                                                    <td height="10"></td>
                                                    <td width="10" height="10"></td>
                                                  </tr>
                                                  <tr> 
                                                    <td width="10">&nbsp;</td>
                                                    <td align="left" valign="top" class="arial12G66">
														<?php  
														
														$key = mysql_real_escape_string($_GET['active']); 
														
														$Qusername = "SELECT * from user where activatedkey = '$key' and status = 'not verify' ";
														$Tusername = $db->sql_total($Qusername);	
														$Rusername = $db->sql_list($Qusername);
														
														
														if($Tusername > 0){
															$createUser= "UPDATE user SET status ='verified',modified_date=NOW() where activatedkey = '$key'";
															$result = $db->sql_query($createUser);
															if ($result){	
																echo'
																	<table width=500 align=left border=0 cellspacing=0 cellpadding=0>
																		<tr>
																			<td><div style="font-weight:bold; font-size:12px; font-family:tahoma;">
																				Dear '.$Rusername[username].'  </div>
																			</td>
																		</tr>
																		<tr>
																			<td><div style=" font-size:12px; font-family:tahoma;">'.$lang['CONTENT_VERIFYMAIL_INFO'].'  </div>
																			</td>
																		</tr>
																		<tr>
																			<td><div style="font-size:12px; font-family:tahoma;">
																					'.$lang['CONTENT_VERIFYMAIL_THANKS'].'<br />
																			</td>
																		</tr>
																		<tr>
																			<td height=15>
																			</td>
																		</tr>
																	</table>
																	
																	';
															}
														}else{
															echo'
																	<table width=500 align=left border=0 cellspacing=0 cellpadding=0>
																		<tr>
																			<td><div style="font-weight:bold; font-size:14px; font-family:tahoma;">'.$lang['CONTENT_VERIFYMAIL_CANCEL'].'  </div>
																			</td>
																		</tr>
																		<tr>
																			<td><div style="font-weight:bold;font-size:11px; font-family:tahoma;">
																					'.$lang['CONTENT_THANKS'].'<br />
																			</td>
																		</tr>
																		<tr>
																			<td height=15>
																			</td>
																		</tr>
																	</table>
																	
																	';
														}
													   
														?>
                                                    </td>
                                                    <td width="10">&nbsp;</td>
                                                  </tr>
                                                  <tr> 
												  
                                                    <td width="10" height="10"></td>
                                                    <td height="10"></td>
                                                    <td width="10" height="10"></td>
                                                  </tr>
                                                </table></td>
												
                                            </tr>
                                            <tr> 
                                              <td height="115" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                  <tr valign="top"> 
                                                    <td width="115" height="115"><img src="img/spec_ornamentLeft.jpg" width="115" height="115"></td>
                                                    <td height="115">&nbsp;</td>
                                                    <td width="115" height="115"><img src="img/spec_ornamentRight.jpg" width="115" height="115"></td>
                                                  </tr>
                                                </table></td>
												
                                            </tr>
                                          </table></td>
                                      </tr>
                                    </table></td>
                                </tr>
                              </table>